64 bit linux

This article is valid, if you want to use →Runtime system and/or Neuron Power Engineer on a 64 bit system of Linux.

The following steps are valid for Debian 7 and UBUNTU. If you do not perform the steps, you will not be able to load the application created in Neuron Power Engineer under Linux. 

In this article:

Neuron Power Engineer for Linux 64

The following installation steps describe the installation under a current version of Ubuntu-Linux (Ubuntu 16.04 at least).

Installing build utilities

You need wget in order to install the →Raspberry Pi compiler. Enter the following commands within a shell, such as by using gnome-terminal or xterm. Conclude each command by pressing the Enter-key.

sudo apt update && sudo apt upgrade
sudo apt-get install wget

Furthermore ninja must have been installed. This is done by the following commands entered in a shell again:

sudo wget "https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-linux.zip" -O /tmp/ninja-linux.zip \
    && unzip -o -x /tmp/ninja-linux.zip -d /usr/local/bin \
    && chmod a+x /usr/local/bin/ninja

As alternative you might want to install the ninja utility by using your package manager. However, mind that you need version 1.5 at least for the binary code creation:

sudo apt update && sudo apt upgrade
sudo apt-get install ninja

Installing compiler for built-in PLC

The built-in PLC (= platform BuiltInPlc) is a 32-bit application. gcc-5-multilib and g++-5-multilib must be installed in order to create binary code for the built-in PLC. This is done by the following commands entered in a shell again:

sudo apt update && sudo apt upgrade
sudo apt-get install gcc-5-multilib g++-5-multilib

Installing compiler for Raspberry Pi

Enter the following command in a shell in order to install the Raspberry Pi compiler:

sudo mkdir -p /usr/local/toolchains && wget "ftp://ftp.logicals.com/logiCAD3/arm-rpi-4.9.3-linux-gnueabihf.tar.gz" -O - | tar -x -C /usr/local/toolchains

Mind that the compiler for ARM CPUs arm-linux-gnueabihf-gcc that is filed in the package archive of the Ubuntu and Debian project is only suited for Raspberry Pis in version 2 or 3. Therefore, it is not installed during this instruction.

Installing and starting Neuron Power Engineer for Linux

  1. Install the Neuron Power Engineer version for Linux that you have received from the support team of Neuron

  2. Before starting Neuron Power Engineer, enhance the PATH variable by the directory to the Raspberry Pi compiler. In order to avoid graphics glitches, it is also necessary to set the SWT_GTK3 variable to value 0.
    Enter the following commands in a shell:

    cd <installation-path-of-the-development-environment>
    export PATH=/usr/local/toolchains/arm-rpi-4.9.3-linux-gnueabihf/bin:${PATH}
    export SWTK_GTK3=0
    ./logiCAD3
  3. Start Neuron Power Engineer by double-clicking the start file NeuronPowerEngineer.
    In Neuron Power Engineer you can now create a projectenter ST-code for the applicationtransfer the application onto the controller and test it on the controller.

Neuron RTS max for Linux 64

On a 64 bit system of Linux perform the following steps:

  1. Install the Neuron RTS max version for Linux that you have received from the support team of Neuron.
    Proceed analogously to the procedure described starting with "Installing the runtime system on Raspberry Pi".

  2. Open a terminal window under Linux.

  3. Enter the following commands – one after each other. Conclude each command by pressing the Enter-key.

    sudo dpkg --add-architecture i386
    sudo apt update && sudo apt upgrade
    sudo apt-get install libc6-i386 libssl1.1:i386 zlib1g:i386 libuuid1:i386
    sudo apt-get install libstdc++6:i386 libxml2:i386
  4. Install a license for Neuron RTS max. Details: siehe "Requesting and installing license"

  5. Start Neuron RTS max and add Neuron RTS max to the system start.
    Proceed analogously to the procedure described starting with "Starting the runtime system on Raspberry Pi".